首页

欢迎

 

Welcome

欢迎来到这里, 这是一个学习数学、讨论数学的网站.

转到问题

请输入问题号, 例如: 2512

IMAGINE, THINK, and DO
How to be a scientist, mathematician and an engineer, all in one?
--- S. Muthu Muthukrishnan

Local Notes

Local Notes 是一款 Windows 下的笔记系统.

Local Notes 下载

Sowya

Sowya 是一款运行于 Windows 下的计算软件.

详情

下载 Sowya.7z (包含最新版的 Sowya.exe and SowyaApp.exe)


注: 自 v0.550 开始, Calculator 更名为 Sowya. [Sowya] 是吴语中数学的发音, 可在 cn.bing.com/translator 中输入 Sowya, 听其英语发音或法语发音.





注册

欢迎注册, 您的参与将会促进数学交流. 注册

在注册之前, 或许您想先试用一下. 测试帐号: usertest 密码: usertest. 请不要更改密码.


我制作的 slides

Problem

随机显示问题

Problèmes d'affichage aléatoires

软件 >> Calculator >> Bug
Questions in category: Bug (Bug).

[Bug] 关于printRecursiveSeries()

Posted by haifeng on 2023-04-08 14:11:11 last update 2023-04-09 13:19:36 | Answers (0)


>> printRecursiveSeries(a_n==n^2,n,1,10)
110

-------------------------------------

 

>> printRecursiveSeries(8x9,x,1,10,\n)
1

 

 

 

 

已经修复(2023-04-08)


in> printRecursiveSeries(8x9,x,1,10,\n)

------------------------

 

>> printRecursiveSeries(8x+19,x,1,10,\n)
1
20
39
58
77
96
115
134
153
172

--------------------

这里实际计算的是 $a_{n+1}=a_n+19$, $a_n=1$.

 


在分数模式下

>> printRecursiveSeries(8|3x9|2,x,1,10,\n)
1|1
8|319|2
232*|2|12122

退出

 

>> printRecursiveSeries(8|3*x*9|2,x,1,10,\n)
1
27
729
19683
531441
14348907
387420489
10460353203
282429536481
7625597484987

------------------------

这里显然计算的是

 printRecursiveSeries(3*x*9,x,1,10,\n)

-----------------------------------------------

>> printRecursiveSeries(8/3*x_n*9/2,x_n,1,10,\n)
1
12.00000002
144.00000042
1728.00000720
20736.00011232
248832.00165888
2985984.02363904
35831808.32845824
429981700.47897600
5159780412.19743751

=========================

 

>>  8/3(1)
in> 8/3(1)

out> 3

 

>> 1/2(2)
in> 1/2(2)

out> 1
------------------------


>> 1/2(1)
in> 1/2(1)

out> 2
------------------------


>> 1/2(3)
in> 1/2(3)

out> 0.66666667
------------------------


>> 1/2(8)
in> 1/2(8)

out> 0.25
------------------------

也就是说, 这里的计算规则变为了 a/b(c) == b/c